package com.google.firebase.quickstart;

import android.app.Application;

import com.google.firebase.database.FirebaseDatabase;
import com.google.firebase.quickstart.database.common.data.model.User;

/**
 * Created by jsb-cpyy on 2018/3/27.
 */

public class DemoApplication extends Application {
    public static boolean isLogin = false;
    public static int unReadMsg = 0;
    public static User mUser;

    @Override
    public void onCreate() {
        super.onCreate();
        FirebaseDatabase.getInstance().setPersistenceEnabled(true);
    }
}
